<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of MoviesController
 *
 * @author Zelic
 */
class App_Public_Controller_Movies extends App_Public_Controller{
    function __construct() {
        parent::__construct();
        $this->restrictedAction['index']=true;
        $this->setAuthController(new App_Public_Controller_User());
        $this->setAuthEngine(new App_Public_Auth());
    }
    function index(){    
        $this->data['movies']=$this->model->select('all');
    }
    
    function detail($data){
    }
    
    
}

?>
